seconds).format(seconds);
},
confirmButtons: [{ signal: 'ConfirmedReboot',
- label: C_("button", "Restart & Install") }],
+ label: C_("button", "Restart & Install") }],
iconName: 'view-refresh-symbolic',
iconStyleClass: 'end-session-dialog-shutdown-icon',
showOtherSessions: true,
if (!open)
return;
- if (this._type == 2 && this._updatesFile.query_exists(null))
- this._type = 3;
-
let dialogContent = DialogContent[this._type];
let subject = dialogContent.subject;
this._totalSecondsToStayOpen = totalSecondsToStayOpen;
this._type = type;
+ if (this._type == 2 && this._updatesFile.query_exists(null))
+ this._type = 3;
+
this._applications = [];
this._applicationList.destroy_all_children();